package com.example.administrator.liveapp.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/4.
 */

public class OrderDetailsBean {

    /**
     * orderInfo : {"nickname":"施顺捷","telnumber":"18379190927","bookorderstatus":"0","storeid":"1","totalprice":"262.40","orderaddtime":"1509788937","storetel":"88932526","bookid":"[17,18,20,22]","booknum":"[\"1\",\"1\",\"1\",\"1\"]","perprice":"[\"129.00\",\"31.00\",\"25.80\",\"76.60\"]","address":"湖南省长沙市其他哦了LOL中和","orderNumber":"201711041748573171","freight":"35.00"}
     * book : [{"bookBannerImg":"/Uploads/2017/09/1505271431469689.png|","bookTitle":"小小自然图书馆","bookId":17,"storeId":"1","price":"129.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368325980856.png|","bookTitle":"时间简史","bookId":18,"storeId":"1","price":"31.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505354627802767.png|","bookTitle":"大卫,不可以!","bookId":20,"storeId":"1","price":"25.80","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]
     * result : false
     * code : 46111
     * message : error for get bookOrder info
     */

    private OrderInfoBean orderInfo;
    private boolean result;
    private int code;
    private String message;
    private List<BookBean> book;

    public OrderInfoBean getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(OrderInfoBean orderInfo) {
        this.orderInfo = orderInfo;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<BookBean> getBook() {
        return book;
    }

    public void setBook(List<BookBean> book) {
        this.book = book;
    }

    public static class OrderInfoBean {
        /**
         * nickname : 施顺捷
         * telnumber : 18379190927
         * bookorderstatus : 0
         * storeid : 1
         * totalprice : 262.40
         * orderaddtime : 1509788937
         * storetel : 88932526
         * bookid : [17,18,20,22]
         * booknum : ["1","1","1","1"]
         * perprice : ["129.00","31.00","25.80","76.60"]
         * address : 湖南省长沙市其他哦了LOL中和
         * orderNumber : 201711041748573171
         * freight : 35.00
         */

        private String nickname;
        private String telnumber;
        private String bookorderstatus;
        private String storeid;
        private String totalprice;
        private String orderaddtime;
        private String storetel;
        private String bookid;
        private String booknum;
        private String perprice;
        private String address;
        private String orderNumber;
        private String freight;
        private String goodsorder;

        public void setGoodsorder(String goodsorder) {
            this.goodsorder = goodsorder;
        }

        public String getGoodsorder() {
            return goodsorder;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getTelnumber() {
            return telnumber;
        }

        public void setTelnumber(String telnumber) {
            this.telnumber = telnumber;
        }

        public String getBookorderstatus() {
            return bookorderstatus;
        }

        public void setBookorderstatus(String bookorderstatus) {
            this.bookorderstatus = bookorderstatus;
        }

        public String getStoreid() {
            return storeid;
        }

        public void setStoreid(String storeid) {
            this.storeid = storeid;
        }

        public String getTotalprice() {
            return totalprice;
        }

        public void setTotalprice(String totalprice) {
            this.totalprice = totalprice;
        }

        public String getOrderaddtime() {
            return orderaddtime;
        }

        public void setOrderaddtime(String orderaddtime) {
            this.orderaddtime = orderaddtime;
        }

        public String getStoretel() {
            return storetel;
        }

        public void setStoretel(String storetel) {
            this.storetel = storetel;
        }

        public String getBookid() {
            return bookid;
        }

        public void setBookid(String bookid) {
            this.bookid = bookid;
        }

        public String getBooknum() {
            return booknum;
        }

        public void setBooknum(String booknum) {
            this.booknum = booknum;
        }

        public String getPerprice() {
            return perprice;
        }

        public void setPerprice(String perprice) {
            this.perprice = perprice;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getOrderNumber() {
            return orderNumber;
        }

        public void setOrderNumber(String orderNumber) {
            this.orderNumber = orderNumber;
        }

        public String getFreight() {
            return freight;
        }

        public void setFreight(String freight) {
            this.freight = freight;
        }
    }

    public static class BookBean {
        /**
         * bookBannerImg : /Uploads/2017/09/1505271431469689.png|
         * bookTitle : 小小自然图书馆
         * bookId : 17
         * storeId : 1
         * price : 129.00
         * num : 1
         */

        private String bookBannerImg;
        private String bookTitle;
        private int bookId;
        private String storeId;
        private String price;
        private String num;

        public String getBookBannerImg() {
            return bookBannerImg;
        }

        public void setBookBannerImg(String bookBannerImg) {
            this.bookBannerImg = bookBannerImg;
        }

        public String getBookTitle() {
            return bookTitle;
        }

        public void setBookTitle(String bookTitle) {
            this.bookTitle = bookTitle;
        }

        public int getBookId() {
            return bookId;
        }

        public void setBookId(int bookId) {
            this.bookId = bookId;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }
}
